package com.zijie.hosptal.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zijie.hosptal.common.Result;
import com.zijie.hosptal.pojo.dto.Account;
import com.zijie.hosptal.pojo.po.Admin;

public interface AdminService {
    Page<Admin> list(Page<Admin> page, Admin admin);

    boolean save(Admin admin);

    String removeById(Integer id);

    boolean updateById(Admin admin);

    Admin getById(Integer id);

    Admin getByUsername(Account account);
}
